package day06_homework_5;

import java.util.Scanner;

public class PointTest {
	public static void main(String[] args) {
		Point point = new Point();
		Scanner input = new Scanner(System.in);
		System.out.println("请输入坐标X：");
		point.setX(input.nextInt());
		System.out.println("请输入坐标Y：");
		point.setY(input.nextInt());
		System.out.println(point);
		System.out.println("请移动坐标X、Y的值：");
		point.movePoint(input.nextInt(),input.nextInt());
		System.out.println(point);
		
	}
}
